package com.example.shiro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.shiro.entity.SysMenuEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenuEntity> {

    /**
     * 根据角色id查询菜单
     * @param roleId
     * @return
     */
    List<SysMenuEntity> selectSysMenuByRoleId(Long roleId);
}
